*{margin: 0; padding: 0;}	
a{text-decoration: none; transition: color .2s;}
p{line-height: 1.7;}
body{
	font-family: "微软雅黑";
	color: #333;
	padding-top: 64px;
	background: #eee;
	line-height: 1.5;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 777;
    width: 100%;
    height: 64px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
}
#header ul{
	font-size: 16px;
	text-align: center;
}
#header ul li{
	list-style: none;
	float: left;
}
#header ul li a{
	text-decoration: none;
	color: #333;
	font-weight: 500;
	display: block;
	padding: 0 2em;
	padding-top: 4px;
	border-bottom: 4px solid transparent;
	line-height: 56px;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	transition: all .2s;
} 
#header ul li a:hover{
	border-color: #e74c3c;
}
#hgroup {
    float: left;
    height: 100%;
    margin-right: 80px;
}
#hgroup .slogan{
	font-size: 12px;
	position: relative;
    display: inline-block;
    margin-top: 22px;
    padding: 0 5px;
    width: 6em;
    border-radius: 3px;
    background: #ccc;
    color: #fff;
    text-align: center;
    font-style: normal;
    line-height: 21px;
    -webkit-transition: letter-spacing .3s;
    -moz-transition: letter-spacing .3s;
    transition: letter-spacing .3s;
}
#logo {
    float: left;
    overflow: hidden;
    margin: 0;
    width: 200px;
    height: 100%;
    background: url(../images/logo.png) no-repeat 0 0;
    text-indent: -99em;
}
#container {
    clear: both;
    margin: 0 auto 40px;
    padding: 20px 20px 0;
    width: 960px;
    /*border: 1px solid green;*/
}
#main{
	float: left;
	width: 700px;
}
#main:first-child{
	margin-top: 20px;
}
#main .hentry{
	overflow: hidden;
	margin-bottom: 20px;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,.1);
	clear: both;
}
.hentry .entry-header {
    overflow: hidden;
    margin: 15px 20px;
}
.entry-header .entry-title{
    margin: 0;
    font-weight: 400;
    font-size: 1.7em;
}
.entry-header .entry-title a{
    color: #111;
}
.entry-header .entry-meta{
	margin-top: .5em;
	color: #aaa;
	font-size: 14px;
}
.entry-header .entry-meta a{
	color: #aaa;
}
.hentry .entry-summary{
	margin: 15px 20px;
	word-wrap: break-word;
	word-break: normal;
	line-height: 1.7;
}
.hentry .entry-summary p{
	margin: 0 0 1em;
	font-size: 14px;
	line-height: 1.7;
	text-indent: 2em;
}
.hentry .entry-footer{
	position: relative;
	margin: 15px 20px;
	min-height: 1.5em;
	height: auto !important;
}
.entry-footer .more-link{
	color: #e74c3c;
	float: right;
	font-size: 14px;
}
.entry-footer .tags-links{
	transition: opacity .3s;
	font-size: 12px;
}
.entry-footer .tags-links a{
	margin-right: .5em;
	padding: 2px 4px;
	border-radius: 2px;
	background: #ccc;
	color: #fff;
	-webkit-transition: background .3s;
	-moz-transition: background .3s;
	transition: background .3s;
}
#sidebar {
    float: right;
    overflow: hidden;
    width: 240px;
}
.widget {
    clear: both;
    margin-bottom: 40px;
}
.widget-title {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    text-align: center;
}
.widget-title .ico {
    position: relative;
	display: inline-block;
	overflow: hidden;
	width: 30px;
	height: 30px;
	background: url(../images/sidebar-icons.png) no-repeat 50% -180px;
	color: #bdc3c7;
	text-indent: -99em;
}
.widget .w1 span{
	background-position: 50% -180px;
}
.widget .w2 span{
	background-position: 50% -90px;
}
.widget .w3 span{
	background-position: 50% 0;
}
.widget .w4 span{
	background-position: 50% -120px;
}
.widget .nclock{
	text-align: center;
}
.widget .tag{
	text-align: center;
	margin-top: 15px;
}
.widget .tag a{
	overflow: hidden;
	border-radius: 5px;
	border: 1px solid #EFEFEF;
	padding: 7px;
	background: #FEFEFE;
	font-size: 12px;
	color: #000000;
}
.widget .arc a{
	font-size: 12px;
	color: #000000;
	border-bottom: 1px dotted #ccc;
}
.widget .links{
	padding: 15px;
}
.widget .links p{
	width: 50%;
	float: left;
	border-bottom: 1px dotted #ccc;
	text-align: center;
}
.widget .links a{
	font-size: 12px;
	color: #000000;
}
#footer{
	clear: both;
	margin: 0 auto;
	padding: 2em 0;
	width: 960px;
	border-top: 3px solid #ddd;
	color: #999;
	text-align: center;
	font-size: 12px;
}
#footer a {
    color: #999;
}
#footer .links {
    margin-bottom: .5em;
}
#footer .links a {
    margin: 0 1em;
}

#rocket.show {
    visibility: visible;
    opacity: 1;
}

#rocket {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 7;
    display: block;
    visibility: hidden;
    width: 26px;
    height: 48px;
    background: url(../images/rocket.png) no-repeat 50% 0;
    opacity: 0;
    -webkit-transition: visibility .6s cubic-bezier(0.6,0.04,0.98,0.335),opacity .6s cubic-bezier(0.6,0.04,0.98,0.335),-webkit-transform .6s cubic-bezier(0.6,0.04,0.98,0.335);
    -moz-transition: visibility .6s cubic-bezier(0.6,0.04,0.98,0.335),opacity .6s cubic-bezier(0.6,0.04,0.98,0.335),-moz-transform .6s cubic-bezier(0.6,0.04,0.98,0.335);
    transition: visibility .6s cubic-bezier(0.6,0.04,0.98,0.335),opacity .6s cubic-bezier(0.6,0.04,0.98,0.335),transform .6s cubic-bezier(0.6,0.04,0.98,0.335);
}
#rocket:hover{
	background-position: 50% -60px;
}
#rocket i {
    display: block;
    margin-top: 48px;
    height: 14px;
    background: url(../images/rocket.png) no-repeat 50% -48px;
    opacity: .5;
    -webkit-transition: -webkit-transform .2s;
    -moz-transition: -moz-transform .2s;
    transition: transform .2s;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    transform-origin: 50% 0;
}

/*life页面*/
.page-header {
    text-align: center;
}
.page-header .page-title{
	display: inline-block;
    margin: 0 0 20px;
    padding: .3em .5em;
    border-radius: 3px;
    background: #16a085;
    color: #fff;
    font-weight: 400;
    font-size: 24px;
    background-color: #e74c3c;
}

/*other页面*/
.entry-content {
    margin: 15px 20px;
    word-wrap: break-word;
    word-break: normal;
    line-height: 1.7;
}
.archives-list {
	margin-left: 40px;
    list-style: none;
}
.archives-list li {
    margin-bottom: 2em;
}
.entry-content a{
	font-size: 14px;
	color: #e74c3c;
}
.archives-list span {
    color: #999;
    font-size: 12px;
}
.archives-list ul {
    padding-left: 1em;
    padding-top: 1em;
    list-style: none;
}
.archives-list ul li {
	list-style: none;
    margin-bottom: 0;
}
/*导航下划线*/
#header .active{
	border-color: #e74c3c;
}

/*数字时钟*/
#sidebar .nclock span{
	font-size: 32px;
}

